package com.kaba.zplb.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kaba.bean.mongodb.Works;
import com.kaba.bean.mongodb.ZuoPin;
import com.kaba.zplb.mapper.WorksMapper;
import com.kaba.zplb.service.WorksService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author user
 * @Date 2021/3/11/011
 * @Description TODO
 */
@Service
public class WorksServiceimpl extends ServiceImpl<WorksMapper, ZuoPin> implements WorksService {
    @Override
    public List<ZuoPin> queryWorks(ZuoPin zuoPin) {
        return this.baseMapper.queryWorks(zuoPin);
    }

    @Override
    public List<ZuoPin> banjiangWorks(ZuoPin zuoPin) {
        return this.baseMapper.queryWorks(zuoPin);
    }

    @Override
    public void updateWorks(String nickname) {
    }

    @Override
    public List<ZuoPin> mingciWorks(ZuoPin zuoPin) {
        return this.baseMapper.queryWorks(zuoPin);
    }

    @Override
    public ZuoPin queryById(String zuopinid) {
        return this.baseMapper.queryById(zuopinid);
    }
}
